package shapewar.engine.presenter;

import java.util.HashMap;
import java.util.Vector;

import android.content.Context;
import shapewar.engine.ext.Arranger;
import shapewar.engine.intefac.IRegisterable;
import shapewar.engine.model.MyTank;
import shapewar.net.client.Client;
import shapewar.view.myview.MyButton;
import shapewar.view.myview.MyFrameLayout;

public class EngineContext {
	//public MyTreeSet<IRegisterable> tr_view = new MyTreeSet<IRegisterable>(MyTreeSet.INC);
	public Vector<IRegisterable> tr_view = new Vector<IRegisterable>();
	public MyTreeSet<IRegisterable> tr_repeat = new MyTreeSet<IRegisterable>(MyTreeSet.INC);
	public MyTreeSet<IRegisterable> tr_repeat4tank = new MyTreeSet<IRegisterable>(MyTreeSet.INC);
	public MyTreeSet<IRegisterable> tr_repeat4protector = new MyTreeSet<IRegisterable>(MyTreeSet.INC);
	public MyTreeSet<IRegisterable> tr_repeat4bullet = new MyTreeSet<IRegisterable>(MyTreeSet.INC);
	public MyTreeSet<IRegisterable> tr_repeat4effect = new MyTreeSet<IRegisterable>(MyTreeSet.INC);
	
	public MyTreeSet<IRegisterable> tr_wall = new MyTreeSet<IRegisterable>(MyTreeSet.INC);
	public MyTreeSet<IRegisterable> tr_tank = new MyTreeSet<IRegisterable>(MyTreeSet.ORDER_BY_ID);
	public HashMap<Integer,IRegisterable> blt_map = new HashMap<Integer,IRegisterable>();
	
	public Context context;
	
	public MyFrameLayout frame;
	
	public MyTank player;
	
	public Client client;
	
	public Arranger arranger;
	
	public MyButton flashBtn;
}
